<template>
  <div>
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span12">
                <div class="row-fluid">
                    <div class="span12">
                        <div class="pdfView" >
                          <pdf :src="path"></pdf>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
  </div>
</template>

<script>
import pdf from 'vue-pdf'
export default {
  name: '組織架構',
  components: {
    pdf
  },
  data () {
    return {
      path: ''
    }
  },
  created () {
    this.path = this.$route.query.path
  }
}
</script>

<style scoped>
.pdfView{
    width: 100%;
    height: 100%;
}
</style>
